<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div style="width: auto;">
	<table style="table-layout:fixed;">
			<tr>
				<td>
					UserId:${user.id }
				</td>
			</tr>
			<tr>
				<td>
					UserName: <input type="text" value="${user.name }" />
				</td>
			</tr>
			<tr>
				<td>
					User Password:<input type="text" value="${user.password }" />
				</td>
			</tr>

			<tr>
				<td>
					Available: <input type="text" value="${!user.disabled }" />
				</td>
			</tr>
			
			<tr>
				<td>
					<c:forEach var="role" items="${user.roles }">
			       			<span>${role.name }</span><br/>
					</c:forEach>
				</td>
			</tr>
	</table>

</div>
